<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ page trimDirectiveWhitespaces="true" %>
<%@ page import="com.park.layout.Blocks" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <%-- JSTL表达式（判断，循环，输出） --%>
<%@taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> <%-- 方法表达式（字符串截取，替换） --%>
<%@ taglib uri="http://www.wanwei.com/tags/tag" prefix="layout" %>
<layout:override name="<%=Blocks.BLOCK_HEADER_SCRIPTS%>">
    <script src="Content/dist/jquery-form.js?v=${static_resource_version}"></script>
</layout:override>

<div class="banner">
<form enctype="multipart/form-data">
    <div class="form-group">
        <label class="col-sm-4 control-label">
            banner图片地址
        </label>

        <div class="col-sm-8">
            <input type="file" class="js-img" name="fileImg1" class="form-control"  />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-4 control-label">
            banner链接地址
        </label>

        <div class="col-sm-8">
            <input type="text" name="bannerUrl" class="form-control bannerUrl" placeholder="banner链接地址，如http://www.baidu.com" />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-4 control-label">
            banner排序
        </label>

        <div class="col-sm-8">
            <input type="text" name="bannerSeq" class="form-control bannerSeq" placeholder="banner排序，例如10，值越大越靠前" />
        </div>
    </div>

    <div class="form-group">
        <div class="text-center" style="padding-top: 20px;">
            <button type="button" class="btn btn-success password-confirm" onclick="updateBanner(this)">
                <span class="glyphicon glyphicon-ok"></span> 保 存
            </button>
        </div>
    </div>
</form>
</div>
<c:import url="../Shared/Layout.jsp">
    <c:param name="title" value=""/>
</c:import>